cmake_minimum_required(VERSION 2.8)
project(svar_gmap)

include(PICMake)
set(CMAKE_CXX_STANDARD 11)
if(NOT CMAKE_BUILD_TYPE)
  set(CMAKE_BUILD_TYPE Release)
endif()


pi_add_target(svar_gmap SHARED src REQUIRED System GSLAM OpenCV)

pi_report_target()

# Now do make install
get_property(TARGETS2COMPILE GLOBAL PROPERTY TARGETS2COMPILE)
pi_install(TARGETS ${TARGETS2COMPILE})
